#include "api.h"

#define MAX_STRING 100

#define FORK_FREE 1
#define FORK_TAKEN 0

#define END_OF_DINNER 0
#define WANT_LEFT_FORK 1
#define WANT_RIGHT_FORK 2
#define PUT_FORKS_BACK 3
#define GO_FOR_IT 4

void dinner(int num_philo, int num_cycles);

void waiter(int num_philo);

void philosopher(int waiter_pid, int philo_id, int num_cycles);
